- flash.each do |type, message|
  .alert{:class => "alert-#{type}"}
    %button.close{:type => 'button', :class => "close", :data => {:dismiss => 'alert'}} &times;
    = message
